package com.yue.config;

import com.yue.bean.Hd;
import com.yue.bean.MyPointCut;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration
@EnableAspectJAutoProxy

public class AOPConfig {

    @Bean
    public Hd hd(){
        return new Hd();
    }
    @Bean
    public MyPointCut myPointCut(){
        return new MyPointCut();
    }
}
